## Replication Materials for:
## January 6 arrests and media coverage do not remobilize conservatives on social media
## Ross Dahlke and Jennifer Pan
## PNAS, 2024


# Folders and their functionality

/paper-code: stores code file required to replicate figures
/data: stores cleaned, anonymized data
/figures: intended for storing figures generated from code files


# Explanation of files in /data directory

defendants_table_extracted.csv: details about January 6 defendants
gab-by-date.csv: number of January 6-related gab posts by date
gab_cut_diffs_roberta.csv: results for cut dates for nonparametric testing for gab
gab_j6_null_distribution_roberta.csv: null distribution data for nonparametric testing for gab
gab_its_results_roberta.csv: interrupted time series analysis results for gab
media_cloud_j6_stories.csv: media reporting on January 6 from Media Cloud
twitter-by-date.csv: number of January 6-related twitter posts by date
twitter_cut_diffs_roberta.csv: results for cut dates for nonparametric testing for twitter
twitter_j6_null_distribution_roberta.csv: null distribution data for nonparametric testing for twitter
twitter_its_results_roberta.csv: interrupted time series analysis results for twitter


# Notes:

1. Please run paper-code/01-analysis-output.Rmd to replicate results
2. All graphics are saved in the /figures directory. When you run the replication script, existing files in this folder will be overwritten
3. figure-window-robustness.pdf is a figure for the time window robustness check in S6 of the SI
4. figure-twitter-its.pdf  is a figure for the interrupted time series analysis in S7 of the SI for twitter
5. figure-gab-its.pdf  is a figure for the interrupted time series analysis in S7 of the SI for gab